﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KCMS.BusinessLogic.Interfaces;
using KCMS.DataAcsess.Interfaces;
using StructureMap;
using AutoMapper;
namespace KCMS.BusinessLogic.Engine
{
    public class SettingsService:ISettingsService
    {
        ISettingsManager setManager = ObjectFactory.GetInstance<ISettingsManager>(); 
        public Models.Settings getSettings()
        {
            return Mapper.Map<KCMS.DataAcsess.Entitys.SettingsEntity, Models.Settings>(setManager.getSettings());
        }
    }
}
